<h1>Addresss List</h1>

<table>
  <thead>
    <tr>
      <th>Id</th>
      <th>Name</th>
      <th>Street</th>
      <th>Street number</th>
      <th>Address addition</th>
      <th>Zip code</th>
      <th>City</th>
      <th>Country</th>
      <th>Public</th>
      <th>Reusable</th>
      <th>Deleted at</th>
      <th>Created at</th>
      <th>Updated at</th>
      <th>Created by</th>
      <th>Updated by</th>
      <th>Deleted by</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($addresss as $address): ?>
    <tr>
      <td><a href="<?php echo url_for('address/edit?id='.$address->getId()) ?>"><?php echo $address->getId() ?></a></td>
      <td><?php echo $address->getName() ?></td>
      <td><?php echo $address->getStreet() ?></td>
      <td><?php echo $address->getStreetNumber() ?></td>
      <td><?php echo $address->getAddressAddition() ?></td>
      <td><?php echo $address->getZipCode() ?></td>
      <td><?php echo $address->getCity() ?></td>
      <td><?php echo $address->getCountryId() ?></td>
      <td><?php echo $address->getPublic() ?></td>
      <td><?php echo $address->getReusable() ?></td>
      <td><?php echo $address->getDeletedAt() ?></td>
      <td><?php echo $address->getCreatedAt() ?></td>
      <td><?php echo $address->getUpdatedAt() ?></td>
      <td><?php echo $address->getCreatedBy() ?></td>
      <td><?php echo $address->getUpdatedBy() ?></td>
      <td><?php echo $address->getDeletedBy() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('address/new') ?>">New</a>
